package com.hoozhi.education.entity;

import java.util.Date;
import java.util.Set;



/**
 * 学生实体类,继承用户实体类
 * @author pharen
 *
 */
public class EduStudent extends EduUser {
	
	public EduClass inClass;							//学生所属的班级,学生与班级的关系是多对一
	
	private Set<EduParent> parentSet;					//学生父母,学生与父母的关系是多对多
	
	private String sno;									//学生的学号
	
	private Date datesAttended;							//入学日期

	public EduClass getInClass() {
		return inClass;
	}

	public void setInClass(EduClass inClass) {
		this.inClass = inClass;
	}

	public Set<EduParent> getParentSet() {
		return parentSet;
	}

	public void setParentSet(Set<EduParent> parentSet) {
		this.parentSet = parentSet;
	}

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public Date getDatesAttended() {
		return datesAttended;
	}

	public void setDatesAttended(Date datesAttended) {
		this.datesAttended = datesAttended;
	}
	
}
